class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments, :force => true do |t|
      t.integer :user_id        # user comment the requirement
      t.integer :requirement_id # comment for the requirement
      t.text    :content        # the content of comment

      t.datetime :created_at    # the datetime of the comment
    end
  end

  def self.down
    drop_table :comments
  end
end
